﻿<Button @onclick="e => Modal?.ToggleAsync()">弹窗</Button>
<Modal @ref="Modal" Title="默认弹窗">
    <ModalDialog Title="默认弹窗">
        <BodyTemplate>
            <div>我是弹窗内正文</div>
        </BodyTemplate>
    </ModalDialog>
</Modal>
